package com.knowledge.data.controller;

import com.knowledge.data.anno.ControllerLog;
import io.swagger.annotations.Api;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Api(description = "HOME页接口")
@Controller
@RequestMapping("home")
public class HomeControllor {

    @RequestMapping(name = "",method = RequestMethod.GET)
    @ControllerLog
    public String home(){
        return "index";
    }
}
